<%@ page pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/common/taglibs.jsp"%>
<head>
<title><s:text name="webapp.name" /></title>
<%@ include file="/common/meta.jsp"%>
</head>
<body>
	<s:form action="yjczz_save" method="post" validate="false"
		theme="simple">
		<%@ include file="/common/header.jsp"%>
		<!----------- 数据列表 ------------------>
		<table width="100%" border="0" width="*" cellpadding="0"
			cellspacing="1" class="dg_borderstyle">
			<tr>
				<td class="dg_headerstyle"><s:text name="yjczz.cpzl" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.cppw" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.ylpw" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.whzl" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.csff" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.dwcpwhl" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.yjc" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.sysjKs" /></td>
				<td class="dg_headerstyle"><s:text name="yjczz.sysjJs" /></td>
				<td class="dg_headerstyle"><s:text name="button.ctrl" /></td>
			</tr>
			<s:iterator var="obj" value="yjczzList">
				<tr class="dg_alternatingitemstyle">
					<td align="left">${obj.cpzl.name}</td>
					<td align="left">${obj.cppw.name}</td>
					<td align="center">${obj.ylpw.name}</td>
					<td align="center">${obj.whzl.name}</td>
					<td align="center">${obj.csff}</td>
					<td align="center">${obj.dwcpwhl}</td>
					<td align="center">${obj.dwcpwhl}</td>
					<td align="center">${obj.sysjKs}</td>
					<td align="center">${obj.sysjJs}</td>
					<td align="center">
						<a href="${ctx}/yjczz_list?yjczz.id=${obj.id}"><s:text name="button.modify" /></a>
						 - 
						<a href="${ctx}/yjczz_remove?yjczz.id=${obj.id}"><s:text name="button.delete" /></a>
					</td>
				</tr>
			</s:iterator>
		</table>
		<!----------- 编辑栏 -------------------->
		<s:if test="yjczz != null">
			<table class="ow_fim_mg" cellspacing="1" cellpadding="3">
				<tr>
					<td class="ow_fim_l" width="120"><s:text name="yjczz.cpzl" />
					<s:hidden name="yjczz.id" />
					</td>
					<td class="ow_fim_r"><s:select list="cpzlList" listKey="id"
							listValue="name" style="width:120px;" name="yjczz.cpzl.id" value="yjczz.cpzl.id"></s:select></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.cppw" /></td>
					<td class="ow_fim_r"><s:select list="cppwList" listKey="id"
							listValue="name" style="width:120px;" name="yjczz.cppw.id" value="yjczz.cppw.id"></s:select></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.ylpw" /></td>
					<td class="ow_fim_r"><s:select list="ylpwList" listKey="id"
							listValue="name" style="width:120px;" name="yjczz.ylpw.id" value="yjczz.ylpw.id"></s:select></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.whzl" /></td>
					<td class="ow_fim_r"><s:select list="whzlList" listKey="id"
							listValue="name" style="width:120px;" name="yjczz.whzl.id" value="yjczz.whzl.id"></s:select></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.csff" /></td>
					<td class="ow_fim_r"><s:select list="csffList" listKey="name"
							listValue="name" style="width:120px;" name="yjczz.csff" value="yjczz.csff"></s:select></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.dwcpwhl" /></td>
					<td class="ow_fim_r"><s:textfield name="yjczz.dwcpwhl" /></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.yjc" /></td>
					<td class="ow_fim_r"><s:textfield name="yjczz.yjc" /></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.sysjKs" /></td>
					<td class="ow_fim_r"><s:textfield name="yjczz.sysjKs" /></td>
				</tr>
				<tr>
					<td class="ow_fim_l"><s:text name="yjczz.sysjJs" /></td>
					<td class="ow_fim_r"><s:textfield name="yjczz.sysjJs" /></td>
				</tr>
			</table>
			<table width="*" align="right">
				<tr>
					<td class="rtm_shb_r"><s:submit action="yjczz_save"
							key="button.save"></s:submit></td>
				</tr>
			</table>
		</s:if>
		<%@ include file="/common/footer.jsp"%>
	</s:form>
</body>
</html>